<% i=0%>
	<% for question in  survey.questions %>

		<p><b>Pytanie <%=i+1 %>. </b><%= question.question %> </p>
			
			<% if question.questiontype.name=="closed question"	%>	
					<%= render :partial => 'show_closed', :locals =>{:question=>question} -%>
	
			<% end %>
	  	<% i=i+1 %>
	<% end %>

